package com.tourism.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.tourism.common.Result;
import com.tourism.entity.ScenicSpot;

import java.util.List;

public interface ScenicSpotService extends IService<ScenicSpot> {

    Result getSpotById(Integer id);

    Result getSpotList(Integer page, Integer pageSize, String name, String location);

    Result addSpot(ScenicSpot scenicSpot);

    Result updateSpot(ScenicSpot scenicSpot);

    Result deleteSpot(Integer id);

    Result batchDeleteSpots(List<Integer> ids);

    Result getAllSpots();
}